ScopedGtbabel\vielhuber\gtbabel\Dom D

Total Complexity 324
Dependencies 11
Dependents 1
Total lines 1,168
Lines of code 1,016
Logical lines of code 662
Comment lines 81
Methods 61
Properties 7

Methods 61

Method Rating Maintainability Complexity Lines of code
modifyHtmlNodes()
D
30 34 100
setXmlLangTags()
B
37 22 71
getNearestLogicalGroup()
B
43 23 40
transformSelectorToXpath()
A
44 16 39
getGroupsForTextNodes()
A
45 13 43
showFrontendEditorLinks()
A
46 13 34
removeHiddenBlocks()
A
47 12 33
preloadExcludedNodes()
A
49 12 31
modifyJson()
A
44 11 43
doWordPressSpecifics()
A
48 11 33
setHtmlLangTags()
A
47 10 37
modifyXmlNodes()
A
48 10 32
detectDomChangesFrontend()
A
45 9 42
localizeJsPrepare()
A
48 9 33
setInnerHtml()
S
51 7 26
nodeIsExcluded()
S
56 7 19
__construct()
S
62 8 9
modifyHtml()
S
49 5 32
addNoTranslateClassToExcludedChildren()
S
58 6 15
frontendEditorFrontend()
S
53 5 23
showSimpleLanguagePicker()
S
55 5 18
preloadAltLngAreas()
S
57 5 17
getParentNodeWithMoreThanOneChildren()
S
59 4 16
modifyXml()
S
59 4 16
preloadForceTokenize()
S
63 4 11
injectLanguagePickerIntoMenu()
S
59 3 13
localizeJsInject()
S
60 3 13
setRtlAttr()
S
66 3 8
getTagNameOfNode()
S
67 3 9
nodeContentBeginsWith()
S
65 3 9
nodeContentEndsWith()
S
65 3 9
isEmptyTextNode()
S
77 2 3
getLastChildrenOfNode()
S
68 2 7
getAltLngForElement()
S
70 2 6
modifyContent()
S
66 2 9
getNextSiblingOfNode()
S
68 2 7
addToExcludedNodes()
S
70 2 6
insertAfter()
S
69 2 7
addClass()
S
65 2 9
getInnerHtml()
S
69 2 7
isInnerTagNode()
S
68 2 6
getPreviousSiblingOfNode()
S
68 2 7
nodeIsForcedTokenized()
S
79 1 3
isElementNode()
S
80 1 3
finishDomDocument()
S
78 1 3
getChildrenOfNodeIncludingWhitespace()
S
80 1 3
getChildrenCountOfNode()
S
80 1 3
getChildrenOfNode()
S
80 1 3
getIdOfNode()
S
82 1 3
getTextSiblingCountOfNonTextNodeWithLessChars()
S
78 1 3
getTextSiblingCountOfNonTextNodeWithMoreChars()
S
78 1 3
getTextSiblingCountOfNonTextNode()
S
80 1 3
setupDomDocument()
S
74 1 4
getNodeSiblingCountOfNonTextNode()
S
79 1 3
getSiblingCountOfNonTextNode()
S
79 1 3
getChildrenCountRecursivelyOfNodeTagsOnly()
S
80 1 3
stringToNode()
S
67 1 7
replaceNodeWithString()
S
67 1 7
isTextNode()
S
80 1 3
getOuterHtml()
S
72 1 5
getBrSiblingCountOfNonTextNode()
S
80 1 3